#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <unistd.h>
#include <string.h>

struct mystc
{
    short a;
    char b;
    int c;
};

int main(int argc, char **argv)
{
    struct mystc v = {
        .a = 1,
        .b = 2,
        .c = v.a};
    printf("[%s,%d]v.a=%d, &v.a=%p\n", __FILE__, __LINE__, v.a, &v.a);
    printf("[%s,%d]v.b=%d, &v.b=%p\n", __FILE__, __LINE__, v.b, &v.b);
    printf("[%s,%d]v.c=%d, &v.c=%p\n", __FILE__, __LINE__, v.c, &v.c);
    printf("[%s,%d]&v=%p\n", __FILE__, __LINE__, &v);
    return 1;
}
